package com.dong.demo;

public class Music {
    private String mName;
    private String author;
    private Double time;

    public Music() {
    }

    public Music(String mName, String author, Double time) {
        this.mName = mName;
        this.author = author;
        this.time = time;
    }

    public String getmName() {
        return mName;
    }

    public void setmName(String mName) {
        this.mName = mName;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public Double getTime() {
        return time;
    }

    public void setTime(Double time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "Music{" +
                "mName='" + mName + '\'' +
                ", author='" + author + '\'' +
                ", time=" + time +
                '}';
    }
}
